﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using HouseManager.BLL;

namespace HouseManager
{
    /// <summary>
    /// UpdateState 的摘要说明
    /// </summary>
    public class UpdateState : IHttpHandler
    {

        public void ProcessRequest(HttpContext context)
        {
            MangerBLL mangerBLL = new MangerBLL();
            var id = Convert.ToInt32(context.Request["id"]);
            var res=mangerBLL.UpdateState(id);  
            context.Response.Write(res);    
        }

        public bool IsReusable
        {
            get
            {
                return false;
            }
        }
    }
}